package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Answerrecord implements Serializable {
    private String anrno;

    private String chiCno;

    private String rdno;

    private String orrno;

    private String sjno;

    private String anrdate;

    private String anrdescribe;

    private Integer anrstate;

    private String anrnumber;

    private static final long serialVersionUID = 1L;

    public String getAnrno() {
        return anrno;
    }

    public void setAnrno(String anrno) {
        this.anrno = anrno;
    }

    public String getChiCno() {
        return chiCno;
    }

    public void setChiCno(String chiCno) {
        this.chiCno = chiCno;
    }

    public String getRdno() {
        return rdno;
    }

    public void setRdno(String rdno) {
        this.rdno = rdno;
    }

    public String getOrrno() {
        return orrno;
    }

    public void setOrrno(String orrno) {
        this.orrno = orrno;
    }

    public String getSjno() {
        return sjno;
    }

    public void setSjno(String sjno) {
        this.sjno = sjno;
    }

    public String getAnrdate() {
        return anrdate;
    }

    public void setAnrdate(String anrdate) {
        this.anrdate = anrdate;
    }

    public String getAnrdescribe() {
        return anrdescribe;
    }

    public void setAnrdescribe(String anrdescribe) {
        this.anrdescribe = anrdescribe;
    }

    public Integer getAnrstate() {
        return anrstate;
    }

    public void setAnrstate(Integer anrstate) {
        this.anrstate = anrstate;
    }

    public String getAnrnumber() {
        return anrnumber;
    }

    public void setAnrnumber(String anrnumber) {
        this.anrnumber = anrnumber;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Answerrecord other = (Answerrecord) that;
        return (this.getAnrno() == null ? other.getAnrno() == null : this.getAnrno().equals(other.getAnrno()))
            && (this.getChiCno() == null ? other.getChiCno() == null : this.getChiCno().equals(other.getChiCno()))
            && (this.getRdno() == null ? other.getRdno() == null : this.getRdno().equals(other.getRdno()))
            && (this.getOrrno() == null ? other.getOrrno() == null : this.getOrrno().equals(other.getOrrno()))
            && (this.getSjno() == null ? other.getSjno() == null : this.getSjno().equals(other.getSjno()))
            && (this.getAnrdate() == null ? other.getAnrdate() == null : this.getAnrdate().equals(other.getAnrdate()))
            && (this.getAnrdescribe() == null ? other.getAnrdescribe() == null : this.getAnrdescribe().equals(other.getAnrdescribe()))
            && (this.getAnrstate() == null ? other.getAnrstate() == null : this.getAnrstate().equals(other.getAnrstate()))
            && (this.getAnrnumber() == null ? other.getAnrnumber() == null : this.getAnrnumber().equals(other.getAnrnumber()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAnrno() == null) ? 0 : getAnrno().hashCode());
        result = prime * result + ((getChiCno() == null) ? 0 : getChiCno().hashCode());
        result = prime * result + ((getRdno() == null) ? 0 : getRdno().hashCode());
        result = prime * result + ((getOrrno() == null) ? 0 : getOrrno().hashCode());
        result = prime * result + ((getSjno() == null) ? 0 : getSjno().hashCode());
        result = prime * result + ((getAnrdate() == null) ? 0 : getAnrdate().hashCode());
        result = prime * result + ((getAnrdescribe() == null) ? 0 : getAnrdescribe().hashCode());
        result = prime * result + ((getAnrstate() == null) ? 0 : getAnrstate().hashCode());
        result = prime * result + ((getAnrnumber() == null) ? 0 : getAnrnumber().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", anrno=").append(anrno);
        sb.append(", chiCno=").append(chiCno);
        sb.append(", rdno=").append(rdno);
        sb.append(", orrno=").append(orrno);
        sb.append(", sjno=").append(sjno);
        sb.append(", anrdate=").append(anrdate);
        sb.append(", anrdescribe=").append(anrdescribe);
        sb.append(", anrstate=").append(anrstate);
        sb.append(", anrnumber=").append(anrnumber);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}